/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package utility;

import java.util.Map.Entry;

/**
 *
 * @author takeshi
 */
//To Do : binary comparator
  public class PairTT<T1, T2> implements Entry<T1, T2> {
    T1  key;

    T2 val;

      public PairTT(T1 key, T2 val) {
          this.key = key;
          this.val = val;
      }

      public PairTT() {
      }

    public T1 getKey() {
      return key;
    }

    public T2 getValue() {
      return val;
    }

    public T2 setValue(T2 val) {
      this.val = val;
      return val;
    }


  }